
import Login from '../views/Login.vue'
import NotFound from '../views/404.vue'
import FORBIDDEN from '../views/403.vue'
import Main from '../views/system/index.vue'
import admin from '../views/system/admin.vue'
import phase from '../views/system/phase.vue'
import subject from '../views/system/subject.vue'
import grade from '../views/system/grade.vue'
import product from '../views/system/product.vue'
import role from '../views/system/role.vue'
import school from '../views/system/school.vue'
import schoolproduct from '../views/system/schoolproduct.vue'
import Campus from  '../views/campus/index.vue'
import classes from '../views/campus/classes.vue'
import schoolteacher from '../views/campus/schoolteacher.vue'
import teacher from '../views/system/teacher.vue'
import schoolrole from '../views/campus/schoolrole.vue'
import schoolstudent from '../views/campus/schoolstudent.vue'
import student from '../views/system/student.vue'
import schoolinfo from '../views/campus/schoolinfo.vue'
import classesteacher from '../views/classes/classesteacher.vue'
import ClassesIndex from '../views/classes/index.vue'
import graduatedclasses from '../views/campus/graduatedclasses.vue'
import graduatedstudent from '../views/campus/graduatedstudent.vue'

export default [{
	path: '/login',
	hidden: true,
	name: '',
	component: Login
}, 
{
	path: '/',
	component: Main,
	name: '校园管理',
	iconCls: 'el-icon-document',//图标样式class
	children: [
		{ 
			path: '/school', 
			component: school,  
			name: '学校管理' 
		},
		{ 
			path: '/schoolproduct', 
			component: schoolproduct,  
			name: '学校产品' ,
        	hidden: true
		},
		{ 
			path: '/teacher', 
			component: teacher,  
			name: '教师账号管理' 
		},
		{ 
			path: '/student', 
			component: student,  
			name: '学生账号管理' 
		}
				
	]

},
{
	path: '/',
	component: Main,
	name: '基础设置',
	iconCls: 'el-icon-setting',//图标样式class
	children: [
		{ 
			path: '/phase', 
			component: phase,  
			name: '学段管理' 
		},
		{ 
			path: '/subject', 
			component: subject,  
			name: '学科管理' 
		},
		{ 
			path: '/grade', 
			component: grade,  
			name: '年级管理' 
		},
		{ 
			path: '/product', 
			component: product,  
			name: '产品管理' 
		}
		
	]

},
{
	path: '/',
	component: Main,
	name: '系统管理',
	iconCls: 'el-icon-menu',//图标样式class
	children: [
		{ 
			path: '/admin',
			component:  admin,  
			name: '管理员管理' 
		},
		{ 
			path: '/role', 
			component: role,  
			name: '角色管理' 
		}
		
	]

},
{
	path: '/campus',
	component: Campus,
	name: '校级管理中心',
	hidden: true,
	children: [
		{ 
			path: '/schoolinfo', 
			component: schoolinfo,  
			name: '学校概况' ,
			title: '校' ,
		},
		{ 
			path: '/schoolteacher', 
			component: schoolteacher,  
			name: '教师管理' ,
			title: '师' ,
        	hidden: true
		},
		{ 
			path: '/classes', 
			component: classes,  
			name: '班级管理' ,
			title: '班' ,
        	hidden: true
		},
		{ 
			path: '/schoolstudent', 
			component: schoolstudent,  
			name: '学生管理' ,
			title: '生' ,
        	hidden: true
		},
		{ 
			path: '/schoolrole', 
			component: schoolrole,  
			name: '学校角色管理' ,
			title: '角' ,
        	hidden: true
		},
		{ 
			path: '/graduatedclasses', 
			component: graduatedclasses,  
			name: '已毕业班级查看' ,
			title: '毕' ,
        	hidden: true
		},
		{ 
			path: '/graduatedstudent', 
			component: graduatedstudent,  
			name: '已毕业学生查看' ,
			title: '毕' ,
        	hidden: true
		},
	]

},
{
	path: '/classesindex',
	component: ClassesIndex,
	name: '班级设置',
	hidden: true,
	children: [
		{
			path: '/classesteacher', 
			component: classesteacher,  
			name: '任课教师管理' ,
        	hidden: true
		}
	]

},
{
	path: '/404',
	component: NotFound,
	name: '404',
	hidden: true
},
{
	path: '/403',
	component: FORBIDDEN,
	name: '403',
	hidden: true
}
]
